{include file="public/head"/}
  
  <body>
    <div class="x-body">
        <form class="layui-form" action="#" method="post" enctype="multipart/form-data">
            

            <div class="layui-form-item">
                <label for="username" class="layui-form-label">
                    <span class="x-red">*</span>停车场:
                </label>
                <div class="layui-input-inline" style="width: 300px;">
                    <select name="parkingNo" lay-verify="required">
                        <option value="">停车场</option>
                        {foreach parkinglist as $v}
                        <option value="{$v.parkingNo}">{$v.parkingName}</option>
                        {/foreach}
                    </select>
                </div>
            </div>
            <div class="layui-form-item">
                <label for="carPlateNo" class="layui-form-label">
                    <span class="x-red">*</span>车牌:
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="carPlateNo" name="carPlateNo" required="" lay-verify="required"
                    autocomplete="off" class="layui-input"  style="width: 300px;">
                </div>
            </div>
            <div class="layui-form-item">
                <label for="start" class="layui-form-label">
                    <span class="x-red">*</span>开始日期:
                </label>
                <div class="layui-input-inline">
                        <input class="layui-input" placeholder="开始日期" name="start_time" id="start" style="width: 300px;">
                </div>
            </div>

            <div class="layui-form-item">
                <label for="end" class="layui-form-label">
                    <span class="x-red">*</span>截止日期:
                </label>
                <div class="layui-input-inline">
                        <input class="layui-input" placeholder="截止日期" name="end_time" id="end" style="width: 300px;">
                </div>
            </div>

            
            
			
           
            <div class="layui-form-item">
                <label for="L_repass" class="layui-form-label">
                </label>
                <button  class="layui-btn" lay-filter="add" lay-submit="">
                    添加
                </button>
            </div>

        </form>
    </div>

<script type="text/javascript">
    layui.use('laydate', function(){
        var laydate = layui.laydate;
        
        //执行一个laydate实例
        laydate.render({
            elem: '#start' //指定元素
            ,format: 'yyyy-MM-dd HH:mm:ss'
        });

        //执行一个laydate实例
        laydate.render({
            elem: '#end' //指定元素
            ,format: 'yyyy-MM-dd HH:mm:ss'
        });
    });  
</script>

    <script>
        var _hmt = _hmt || []; (function() {
            var hm = document.createElement("script");
            hm.src = "https://hm.baidu.com/hm.js?b393d153aeb26b46e9431fabaf0f6190";
            var s = document.getElementsByTagName("script")[0];
            s.parentNode.insertBefore(hm, s);
        })();
    </script>
    </body>
</html>